package com.sdkj.recruit.vo;


import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class UserVo implements Serializable {


	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 用户ID
	 */
	private String userId;

	/**
	 * 用户菜单
	 */
	private List<MenuVo> menus;

	/**
	 * 认证失败时返回的信息
	 */
	private String errorMessage;
	/**
	 * 0:成功 1:用户不存在 2:用户停用 3:密码错误 4:已在其它设备登录 5：程序异常 6:请求参数为空
	 * 7：此用户没有后台管理权限，请用APP登录或者联系管理员 8：用户名已经被注册，请从新输入 9：验证码错误 10:验证码过期
	 */
	private int errorCode;

	/**
	 * 最后登录时间
	 */
	private Date lastLoginTime;

	/**
	 * 用户登录token
	 */
	private String accessToken;

	/**
	 * 用户名
	 */
	private String userName;

	/**
	 * 员工编号
	 */
	private String emCode;
	
	/**
	 * 岗位类型
	 */
	private int groupId;
	
	/**
	 * 职位
	 */
	private int positionId;
	
	/**
	 * 微信ID
	 */
	private String openId;
	
	/**
	 * 简历ID
	 */
	private String resumeId;
	
	/**
	 * 用户标签列表
	 */
	private List<UserLabelVo> labelList;

	/**
	 * 手机认证后返回的 uniqueId
	 */
	private String uniqueId;
	
	public String getUniqueId() {
		return uniqueId;
	}

	public void setUniqueId(String uniqueId) {
		this.uniqueId = uniqueId;
	}

	public List<UserLabelVo> getLabelList() {
		return labelList;
	}

	public void setLabelList(List<UserLabelVo> labelList) {
		this.labelList = labelList;
	}

	public String getResumeId() {
		return resumeId;
	}

	public void setResumeId(String resumeId) {
		this.resumeId = resumeId;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public int getGroupId() {
		return groupId;
	}

	public void setGroupId(int groupId) {
		this.groupId = groupId;
	}

	public int getPositionId() {
		return positionId;
	}

	public void setPositionId(int positionId) {
		this.positionId = positionId;
	}

	public String getEmCode() {
		return emCode;
	}

	public void setEmCode(String emCode) {
		this.emCode = emCode;
	}

	/**
	 * 地址
	 */
	private String address;
	
	/**
	 * 昵称
	 */
	private String nickName;
	/**
	 * 密码
	 */
	private String password;

	/**
	 * 是否登录成功
	 */
	private boolean authenticated;

	/**
	 * 用户类型 1: app 注册用户 2：后台用户 3：管理员
	 */
	private int userType;

	/**
	 * 手机号
	 */
	private String mobile;

	/**
	 * 1： Android 2：IOS
	 */
	private String isIos;

	/**
	 * 设备ID
	 */
	private String deveiceId;

	/**
	 * 过期时间
	 */
	private long expireTime;

	/**
	 * 是否在线 0：不在线 1：在线
	 */
	private boolean isOnline;

	/**
	 * 获取token 的时间
	 */
	private Date tokenTime;

	/**
	 * 用户头像URL
	 */
	private String userPicUrl;

	/**
	 * 性别 1：男 2：女
	 */
	private int sex;

	/**
	 * 生日
	 */
	private String birthDate;
	
	/**
	 * 验证码
	 */
	private String checkCode;
	
	/***
	 *  电话区号
	 */
	private String zone;

	/**
     * 创建时间
     */
    private Date createDate;
    
    /**
     * 分享数
     */
    private int shareCount;
    /**
     * 粉丝数
     */
    private int fansCount;
    
    /**
     * 关注数
     */
    private int focusCount;
    
    /**
     * 账号状态 1：正常 2：停用
     */
    private int accountStatus;
    
    /**
     * 用户等级
     */
    private String level;
    
    
    /**
     * 邮箱
     */
    private String email;
    
    
    
    
	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public int getAccountStatus() {
		return accountStatus;
	}

	public void setAccountStatus(int accountStatus) {
		this.accountStatus = accountStatus;
	}

	public int getShareCount() {
		return shareCount;
	}

	public void setShareCount(int shareCount) {
		this.shareCount = shareCount;
	}

	public int getFansCount() {
		return fansCount;
	}

	public void setFansCount(int fansCount) {
		this.fansCount = fansCount;
	}

	public int getFocusCount() {
		return focusCount;
	}

	public void setFocusCount(int focusCount) {
		this.focusCount = focusCount;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getCheckCode() {
		return checkCode;
	}

	public void setCheckCode(String checkCode) {
		this.checkCode = checkCode;
	}

	public String getZone() {
		return zone;
	}

	public void setZone(String zone) {
		this.zone = zone;
	}

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

	public String getBirthDate() {
		return birthDate;
	}

	public void setBirthDate(String birthDate) {
		this.birthDate = birthDate;
	}

	public String getUserPicUrl() {
		return userPicUrl;
	}

	public void setUserPicUrl(String userPicUrl) {
		this.userPicUrl = userPicUrl;
	}

	public Date getTokenTime() {
		return tokenTime;
	}

	public void setTokenTime(Date tokenTime) {
		this.tokenTime = tokenTime;
	}

	public boolean isOnline() {
		return isOnline;
	}

	public void setOnline(boolean isOnline) {
		this.isOnline = isOnline;
	}

	public long getExpireTime() {
		return expireTime;
	}

	public void setExpireTime(long expireTime) {
		this.expireTime = expireTime;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getDeveiceId() {
		return deveiceId;
	}

	public void setDeveiceId(String deveiceId) {
		this.deveiceId = deveiceId;
	}

	public String getIsIos() {
		return isIos;
	}

	public void setIsIos(String isIos) {
		this.isIos = isIos;
	}

	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}

	public Date getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public String getErrorMessage() {
		return errorMessage;
	}

	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}

	public int getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(int errorCode) {
		this.errorCode = errorCode;
	}

	public List<MenuVo> getMenus() {
		return menus;
	}

	public void setMenus(List<MenuVo> menus) {
		this.menus = menus;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public boolean isAuthenticated() {
		return authenticated;
	}

	public void setAuthenticated(boolean authenticated) {
		this.authenticated = authenticated;
	}

	public int getUserType() {
		return userType;
	}

	public void setUserType(int userType) {
		this.userType = userType;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

}
